import React, { Component, PropTypes } from 'react'
import { InputItem } from 'antd-mobile'

export default class GeneralInput extends Component {
  render() {
    const { placeholder } = this.props
    return (
      <InputItem
        className={`cm-general-input`}
        placeholder={placeholder}
      >
      </InputItem>
    )
  }
}

GeneralInput.defaultProps = {
  placeholder: '',
}

GeneralInput.propTypes = {
  placeholder: PropTypes.string,
}